<%@ page language="java" contentType="text/html;charSet=utf-8" pageEncoding="utf-8" %>
<html>
<head>
<title>
登录页
</title>
</head>
<body>
<span style="color:red;font-weight:bold">
<%
String err = (String) request.getAttribute("err");
if(err!=null){
  out.println(err);
}
%>
</span>
<form action="${pageContext.request.contextPath}/student/login" method="post">
学号：<input type="text" name='stuId'/>
<br>
密码：<input type="password" name='pwd'/>
<br>
登录： <input type="submit">
</form>
</body>
</html>
